package jbp.service;

import jbp.domain.project.AddProjectDto;
import jbp.domain.project.EditProjectDto;
import jbp.domain.project.ProjectDetailDto;
import jbp.domain.project.ProjectListDto;
import jbp.domain.version.AddVersionDto;
import jbp.domain.version.EditVersionDto;
import jbp.domain.version.VersionDetailDto;
import jbp.domain.version.VersionListDto;

import java.util.List;
import java.util.Map;

public interface ProjectService {
    //////////////////////////////////////////////////
    ProjectDetailDto Query(int id);

    int Count(Map<String, Object> params);

    List<ProjectListDto> Query(Map<String, Object> params);

    boolean Add(AddProjectDto addDto);

    boolean Update(EditProjectDto editDto);

    boolean Delete(String id);
    //////////////////////////////////////////////////
}
